package com.qyb.controller;


import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * <strong>实现功能:</strong>
 * <p>SpringBoot War Servlet</p>
 *
 * @author 秦有宝
 * @version 1.0.1 2017-10-24 19:43
 */
public class ServletApplication extends SpringBootServletInitializer {

    /**
     * 全局配置参数
     */
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(Application.class);
    }
}
